findText

public static EditorCommand findText(String text)

Returns a command that allows searching for the given text occurrence from the current caret position in the frame. If match found, this command will select it and scroll down to make it visible, if needed.

Parameters

text

a text to search

Throws

when text is empty